package com.ingenieria.industrial.dto;

import com.cerd.util.BaseSP01.JUtilBaseSP01;
import java.io.Serializable;
import org.jasypt.encryption.pbe.StandardPBEStringEncryptor;

public class Usuario extends JUtilBaseSP01 implements Serializable {

    private String cod_usu;
    private String nombre;
    private String clave;
    private String cla_ant;
    private String cod_rol;
    private String estado;
    private String descrip;

    //Info personal
    private String dni;
    private String ape_pat;
    private String ape_mat;
    private String nombres;
    private String celular;
    private String mail;
    private String faceb;
    private String twitter;
    private String pag_web;
    private String alumno;

    //Info académica
    private int idAca;
    private String dniAca;
    private String niv_aca;
    private String est_post;
    private String prod_aca;
    private String prod_aca_descrip;
    private String cert_aca;
    private String are_int_cal;
    private String are_int_fin;
    private String are_int_log;
    private String are_int_man;
    private String are_int_mark;
    private String are_int_oper;
    private String are_int_proy;
    private String are_int_resp_soc;
    private String are_int_tal_hum;
    private String are_int_otr;

    //Info profesional
    private int idPro;
    private String dniPro;
    private String tra_act;
    private String area;
    private String cargo;
    private String periodo;
    private String exp_lab;
    private String are_int_lab_cal;
    private String are_int_lab_fin;
    private String are_int_lab_log;
    private String are_int_lab_man;
    private String are_int_lab_mark;
    private String are_int_lab_oper;
    private String are_int_lab_proy;
    private String are_int_lab_resp_soc;
    private String are_int_lab_tal_hum;
    private String are_lab_int_otr;

    public Usuario() {
    }

    public String getCod_usu() {
        return cod_usu;
    }

    public void setCod_usu(String cod_usu) {
        this.cod_usu = cod_usu;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getClave() {
        return clave;
    }

    public void setClave(String clave) {
        this.clave = clave;
    }

    public String getCla_ant() {
        return cla_ant;
    }

    public void setCla_ant(String cla_ant) {
        this.cla_ant = cla_ant;
    }

    public String getCod_rol() {
        return cod_rol;
    }

    public void setCod_rol(String cod_rol) {
        this.cod_rol = cod_rol;
    }

    public String getEstado() {
        return estado;
    }

    public void setEstado(String estado) {
        this.estado = estado;
    }

    public String getDescrip() {
        return descrip;
    }

    public void setDescrip(String descrip) {
        this.descrip = descrip;
    }

    public String getDni() {
        return dni;
    }

    public void setDni(String dni) {
        this.dni = dni;
    }

    public String getApe_pat() {
        return ape_pat;
    }

    public void setApe_pat(String ape_pat) {
        this.ape_pat = ape_pat;
    }

    public String getApe_mat() {
        return ape_mat;
    }

    public void setApe_mat(String ape_mat) {
        this.ape_mat = ape_mat;
    }

    public String getNombres() {
        return nombres;
    }

    public void setNombres(String nombres) {
        this.nombres = nombres;
    }

    public String getCelular() {
        return celular;
    }

    public void setCelular(String celular) {
        this.celular = celular;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getFaceb() {
        return faceb;
    }

    public void setFaceb(String faceb) {
        this.faceb = faceb;
    }

    public String getTwitter() {
        return twitter;
    }

    public void setTwitter(String twitter) {
        this.twitter = twitter;
    }

    public String getPag_web() {
        return pag_web;
    }

    public void setPag_web(String pag_web) {
        this.pag_web = pag_web;
    }

    public String getNiv_aca() {
        return niv_aca;
    }

    public void setNiv_aca(String niv_aca) {
        this.niv_aca = niv_aca;
    }

    public String getEst_post() {
        return est_post;
    }

    public void setEst_post(String est_post) {
        this.est_post = est_post;
    }

    public String getAre_int_otr() {
        return are_int_otr;
    }

    public void setAre_int_otr(String are_int_otr) {
        this.are_int_otr = are_int_otr;
    }

    public int getIdPro() {
        return idPro;
    }

    public void setIdPro(int idPro) {
        this.idPro = idPro;
    }

    public String getDniPro() {
        return dniPro;
    }

    public void setDniPro(String dniPro) {
        this.dniPro = dniPro;
    }

    public String getTra_act() {
        return tra_act;
    }

    public void setTra_act(String tra_act) {
        this.tra_act = tra_act;
    }

    public String getCargo() {
        return cargo;
    }

    public void setCargo(String cargo) {
        this.cargo = cargo;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getPeriodo() {
        return periodo;
    }

    public void setPeriodo(String periodo) {
        this.periodo = periodo;
    }

    public String getExp_lab() {
        return exp_lab;
    }

    public void setExp_lab(String exp_lab) {
        this.exp_lab = exp_lab;
    }

    public String getAre_lab_int_otr() {
        return are_lab_int_otr;
    }

    public void setAre_lab_int_otr(String are_lab_int_otr) {
        this.are_lab_int_otr = are_lab_int_otr;
    }

    public String getAlumno() {
        return alumno;
    }

    public void setAlumno(String alumno) {
        this.alumno = alumno;
    }

    public int getIdAca() {
        return idAca;
    }

    public void setIdAca(int idAca) {
        this.idAca = idAca;
    }

    public String getDniAca() {
        return dniAca;
    }

    public void setDniAca(String dniAca) {
        this.dniAca = dniAca;
    }

    public String getProd_aca() {
        return prod_aca;
    }

    public void setProd_aca(String prod_aca) {
        this.prod_aca = prod_aca;
    }

    public String getProd_aca_descrip() {
        return prod_aca_descrip;
    }

    public void setProd_aca_descrip(String prod_aca_descrip) {
        this.prod_aca_descrip = prod_aca_descrip;
    }

    public String getCert_aca() {
        return cert_aca;
    }

    public void setCert_aca(String cert_aca) {
        this.cert_aca = cert_aca;
    }

    public String getClaveEncrypt(String clave) {
        StandardPBEStringEncryptor s = new StandardPBEStringEncryptor();
        s.setPassword(obtenerClaveEncript());
        return s.encrypt(clave);
    }

    public String getClaveConv(String clave) {
        StandardPBEStringEncryptor s = new StandardPBEStringEncryptor();
        s.setPassword(obtenerClaveEncript());
        return s.decrypt(clave);
    }

    public String getAre_int_cal() {
        return are_int_cal;
    }

    public void setAre_int_cal(String are_int_cal) {
        this.are_int_cal = are_int_cal;
    }

    public String getAre_int_fin() {
        return are_int_fin;
    }

    public void setAre_int_fin(String are_int_fin) {
        this.are_int_fin = are_int_fin;
    }

    public String getAre_int_log() {
        return are_int_log;
    }

    public void setAre_int_log(String are_int_log) {
        this.are_int_log = are_int_log;
    }

    public String getAre_int_man() {
        return are_int_man;
    }

    public void setAre_int_man(String are_int_man) {
        this.are_int_man = are_int_man;
    }

    public String getAre_int_mark() {
        return are_int_mark;
    }

    public void setAre_int_mark(String are_int_mark) {
        this.are_int_mark = are_int_mark;
    }

    public String getAre_int_oper() {
        return are_int_oper;
    }

    public void setAre_int_oper(String are_int_oper) {
        this.are_int_oper = are_int_oper;
    }

    public String getAre_int_proy() {
        return are_int_proy;
    }

    public void setAre_int_proy(String are_int_proy) {
        this.are_int_proy = are_int_proy;
    }

    public String getAre_int_resp_soc() {
        return are_int_resp_soc;
    }

    public void setAre_int_resp_soc(String are_int_resp_soc) {
        this.are_int_resp_soc = are_int_resp_soc;
    }

    public String getAre_int_tal_hum() {
        return are_int_tal_hum;
    }

    public void setAre_int_tal_hum(String are_int_tal_hum) {
        this.are_int_tal_hum = are_int_tal_hum;
    }

    public String getAre_int_lab_cal() {
        return are_int_lab_cal;
    }

    public void setAre_int_lab_cal(String are_int_lab_cal) {
        this.are_int_lab_cal = are_int_lab_cal;
    }

    public String getAre_int_lab_fin() {
        return are_int_lab_fin;
    }

    public void setAre_int_lab_fin(String are_int_lab_fin) {
        this.are_int_lab_fin = are_int_lab_fin;
    }

    public String getAre_int_lab_log() {
        return are_int_lab_log;
    }

    public void setAre_int_lab_log(String are_int_lab_log) {
        this.are_int_lab_log = are_int_lab_log;
    }

    public String getAre_int_lab_man() {
        return are_int_lab_man;
    }

    public void setAre_int_lab_man(String are_int_lab_man) {
        this.are_int_lab_man = are_int_lab_man;
    }

    public String getAre_int_lab_mark() {
        return are_int_lab_mark;
    }

    public void setAre_int_lab_mark(String are_int_lab_mark) {
        this.are_int_lab_mark = are_int_lab_mark;
    }

    public String getAre_int_lab_oper() {
        return are_int_lab_oper;
    }

    public void setAre_int_lab_oper(String are_int_lab_oper) {
        this.are_int_lab_oper = are_int_lab_oper;
    }

    public String getAre_int_lab_proy() {
        return are_int_lab_proy;
    }

    public void setAre_int_lab_proy(String are_int_lab_proy) {
        this.are_int_lab_proy = are_int_lab_proy;
    }

    public String getAre_int_lab_resp_soc() {
        return are_int_lab_resp_soc;
    }

    public void setAre_int_lab_resp_soc(String are_int_lab_resp_soc) {
        this.are_int_lab_resp_soc = are_int_lab_resp_soc;
    }

    public String getAre_int_lab_tal_hum() {
        return are_int_lab_tal_hum;
    }

    public void setAre_int_lab_tal_hum(String are_int_lab_tal_hum) {
        this.are_int_lab_tal_hum = are_int_lab_tal_hum;
    }

    public String interesAcademico() {
        return are_int_cal + are_int_fin + are_int_log + are_int_man + are_int_mark
                + are_int_oper + are_int_proy + are_int_resp_soc + are_int_tal_hum + are_int_otr;
    }

    public String interesLaboral() {
        return are_int_lab_cal + are_int_lab_fin + are_int_lab_log
                + are_int_lab_man + are_int_lab_mark + are_int_lab_oper + are_int_lab_proy + are_int_lab_resp_soc
                + are_int_lab_tal_hum + are_lab_int_otr;
    }

}
